
package com.hlkj.pay.vo.openapi.fund.req;

import java.math.BigDecimal;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商户进件表
 * 
 * @TableName t_merchant_access_info
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OpenApiFundAccountConfigReq extends BaseReq {

    @Schema(description = "ID")
    private Long id;

    @Schema(description = "商户")
    private String sn;
    @Schema(description = "服务商")
    private String providerCode;
    @Schema(description = "应用ID")
    private String appId;

    @Schema(description = "通编码")
    private String channelCode;

    @Schema(description = "分账类型 1：服务商渠道 2：商户渠道")
    private Integer type;
    /**
     * 进件单号
     */
    @Schema(description = "分账接受方名称")
    private String name;
    /**
     * 分账接受方号
     */
    @Schema(description = "分账接受方号")
    private String accountNo;
    /**
     * 分账费率
     */
    @Schema(description = "分账手续费率")
    private BigDecimal fee;
    /**
     * 分账费率
     */
    @Schema(description = "分账比例")
    private BigDecimal rate;


    @Schema(description = "商户是否可见 0：否 1：是")
    private Integer snVisible;

    /**
     * 是否启用，0：关闭 1 启用
     */
    @Schema(description = "是否启用，0：关闭 1 启用")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}
